package typeCheck;

public class PointerType extends Type {

    private final Type pointedType;
    public PointerType(String name, Type pointedType) {
        super(name, TypeEnum.POINTER);
        this.pointedType = pointedType;
    }

    public Type getPointedType() {
        return this.pointedType;
    }
}
